//
//  BaseView.m
//  MiaoYin
//
//  Created by DarkWorld on 2019/12/20.
//  Copyright © 2019 thy. All rights reserved.
//

#import "BaseView.h"

@implementation BaseView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if (self)
    {
        [self initData];
        [self initView];
    }
    
    return self;
}

- (void)awakeFromNib
{
    [super awakeFromNib];
    [self initData];
    [self initView];
}


#pragma mark - 初始化试图

- (void)initData
{
    // Abstract method.
}

- (void)initView
{
    // Abstract method.
}



@end
